package org.objective.base;

import org.objective.ddl.type.DataType;

/**
 *
 * @author gus
 */
public abstract class PredefinedDataType extends BaseDomainObject
{
    protected PredefinedDataType( Storage storage, long id )
    {
        super(storage, id);
        assert DataType.isDataType(id) ;
    }

    public abstract Referable getObjectRef();
    public abstract long    getDataType();

    public abstract boolean isSimpleType();
    public abstract boolean isNullable();
    public abstract Object  getNullValue();
}
